package yf.mall.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import yf.mall.entity.KolShopEntity;
import yf.mall.entity.KolShopEntityExample;

@Mapper
@Repository
public interface KolShopExtMapper {
    long countByExample(KolShopEntityExample example);

    int deleteByExample(KolShopEntityExample example);

    int deleteByPrimaryKey(Long id);

    int insert(KolShopEntity record);

    int insertSelective(KolShopEntity record);

    List<KolShopEntity> selectByExample(KolShopEntityExample example);

    KolShopEntity selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") KolShopEntity record, @Param("example") KolShopEntityExample example);

    int updateByExample(@Param("record") KolShopEntity record, @Param("example") KolShopEntityExample example);

    int updateByPrimaryKeySelective(KolShopEntity record);

    int updateByPrimaryKey(KolShopEntity record);
}